package com.ys.service.wallet;

import com.ys.entity.WalletWithdraw;
import com.ys.entity.block.Transaction;

/**
 * 钱包定时任务接口
 */
public interface IWalletJobService {

   Integer getCurrency();

    /**
     * 处理提笔交易信息 更新提笔状态
     * @param t
     * @param walletWithdraw
     */
   void dealTransaction(Transaction t, WalletWithdraw walletWithdraw);

    /**
     * 返回交易信息对象
     * @return
     */
   Transaction getTransaction();

    /**
     * 根据当前的区块数更新冲提状态
     */
   void updateDepositWithdrawStatus(Integer currentBlockNum);

}
